package au.com.fx.frontend;

import java.io.IOException;
import java.util.Date;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import au.com.fx.contact.Contact;
import au.com.fx.contact.Todo;
import au.com.fx.controllers.FxConfig;

@SuppressWarnings("serial")
public class FeedexpressServlet extends HttpServlet {
	@Override
	public void doGet(final HttpServletRequest req,
			final HttpServletResponse resp) throws IOException {
		resp.setContentType("text/plain");
		Todo todo = new Todo();
		todo.setSummary("to go do some work");
		//FxConfig.entityManager().persist(todo);
		//vFxConfig.entityManager().close();
		resp.getWriter().println("Hello, FeedXpress " + new Date());
	}
}
